package com.livew.framework.base.service;

import java.util.List;

import com.livew.framework.base.model.SysUser;
import com.livew.framework.exception.XTBusinessException;
import com.livew.framework.page.PagedResult;

public interface SysUserService extends BaseService<SysUser>{

	/**
	 * 根据用户名查询
	 * @param username
	 * @return
	 */
	SysUser getUserByUsername(String username);
	/**
	 * 根据手机号查询
	 * @param phone
	 * @return
	 */
	SysUser getUserByPhone(String phone);
	
	/**
	 * 根据邮箱查询
	 * @param email
	 * @return
	 */
	SysUser getUserByEmail(String email);
	
	

	List<SysUser> getChcekInfoByCondition(SysUser user);
	
	/**
	 * 登录信息
	 * @param user
	 * @return
	 */
	SysUser getLogin(SysUser user);
	

	PagedResult<SysUser> findPagination(SysUser user);
	
	
	
	void updatePwd(SysUser user) throws XTBusinessException;
	

}
